package model

type QuotePolicy struct {
	Id         string `json:"_id"`
	Appid      string `json:"appid"`
	PolicyId   string `json:"policy_id"`
	MrEnclave  string `json:"mr_enclave"`
	MrSigner   string `json:"mr_signer"`
	CreateTime int64  `json:"create_time"`
}

func (*QuotePolicy) Partition() string {
	return "quote_policy:"
}

// QuotePolicyPartitionId 分区ID
func QuotePolicyPartitionId(id string) string {
	return "quote_policy:" + id
}
